package com.tutu.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tutu.mp.dao.UserMapper;
import com.tutu.mp.entity.User;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Program: SpringBoot
 * @Description:
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-11-29 09:36
 **/
public interface UserService extends IService<User> {

    /**
     * 若主键存在则忽略，否则插入
     * @param user
     * @return
     */
    int ignoreInsert(User user);


}
